﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Common.DTO;

namespace ImmoralServices
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IPlayerService" in both code and config file together.
    [ServiceContract]
    public interface IPlayerService
    {
        public Boolean CheckPlayer(string namn);

        public bool SetNamePlayer(string namn);

        public Player LoginPlayer(string login, string password);

        public List<Player> GetAllPlayer();

        public Player GetOpponent(int sessionId, int playerId);
    }
}
